package cn.edu.ujn.shi.dao;


import java.util.List;

/**
 * 投诉表 Mapper 接口
 *
 * @author LiChao
 * @since 2024-05-31
 */
public interface ComplainMapper {

    List<Complain> getComplain(String username);

    List<Complain> getComplainLike(String username);


    Complain getComplainById(String id);

    List<Complain> getAll();

    void insert(Complain complain);

    void delete(int id);

    void updateComplain(Complain complain);
}
